package grailsworkshop2012_1_g

class CurrentController {

    def index = {
        redirect(action:"current")
    }
    
    def current = {
        def trips = Trip.list()
        [trips:trips]
    }
}
